package com.sugou.model.datas;

import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.sugou.model.core.base.LongIdEntity;
import com.sugou.model.datas.embeddable.Point;

@Entity(name="ResidentialAreas")
@Table(name="GW_RESIDENTIAL_AREAS")
public class ResidentialAreas extends LongIdEntity {
	private static final long serialVersionUID = -6859619283208332642L;
	
	@Column(length=1000,nullable=false)
	private String name;
	
	@Embedded
	private Point point;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Point getPoint() {
		return point;
	}

	public void setPoint(Point point) {
		this.point = point;
	}
	

}